/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.kleintjes.question3.ocp.obeys.model;

import ac.za.cput.kleintjes.question3.ocp.obeys.services.Member;


/**
 *
 * @author Administrator
 */
public class MemberSilver implements Member{
    private String acountNumber;
    private double basicAmount;
    private double parkingFee;
    private static final String MEMBER_TYPE = "Silver";

    public String getAcountNumber() {
        return acountNumber;
    }

    public void setAcountNumber(String acountNumber) {
        this.acountNumber = acountNumber;
    }

    public double getBasicAmount() {
        return basicAmount;
    }

    public void setBasicAmount(double basicAmount) {
        this.basicAmount = basicAmount;
    }

    public double getParkingFee() {
        return parkingFee;
    }

    public void setParkingFee(double parkingFee) {
        this.parkingFee = parkingFee;
    }
    
    @Override
    public String getType() {
        return MEMBER_TYPE;
    }

    @Override
    public double getAmount() {
        return basicAmount + parkingFee;
    }
    
}
